﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using System.ServiceModel;

namespace KATS_Client.Server
{
    /// <summary>
    /// The client's server. Handles the server
    /// </summary>
    [ServiceContract(Namespace = "http://www.animeequation.com/")]
    public interface IServer
    {
        /// <summary>
        /// Update the progress on an action performed on the server
        /// </summary>
        /// <param name="progress">The new progress</param>
        [OperationContract]
        void Progress(int progress);

        /// <summary>
        /// Updates the speed string for actions performed on the server
        /// </summary>
        /// <param name="speed">The speed string</param>
        [OperationContract]
        void Speed(string speed);

        /// <summary>
        /// Disconnect the connection
        /// </summary>
        [OperationContract]
        void Disconnect();
    }
}
